﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Runtime.Serialization;

namespace Airport.AirportDataTypes
{
    [DataContract]
    public class Scenario
    {
        private int _scenarioId;
        private List<Plane> _scenarioPlanes;

        public Scenario()
            : this(-1)
        {
        }

        public Scenario(int scenarioId)
        {
            _scenarioId = scenarioId;
            _scenarioPlanes = new List<Plane>();
        }

        #region Properties

        [DataMember]
        public int ScenarioId
        {
            get
            {
                return _scenarioId;
            }

            set
            {
                _scenarioId = value;
            }
        }

        [DataMember]
        public List<Plane> ScenarioPlanes
        {
            get
            {
                return _scenarioPlanes;
            }

            set
            {
                _scenarioPlanes = value;
            }
        }

        #endregion
    }
}